# encoding: utf-8

from sklearn.svm import SVR


def svr(X, Y):
    trainer = SVR(kernel="poly", degree=2)
    t = trainer.fit(X, Y)
    return t